<div class="col-md-9">
    <div class="mycontent accinfo">
        <div class="navi">
            Quên mật khẩu
        </div>  
        <div class="title">
            <h4>Xin chào bạn!</h4>
        </div>
         
        <div class="box">
            <div class="head">
                <span class="glyphicon glyphicon-lock"></span><h4>Nhập email để lấy pass</h4>                
            </div>                
            <p>Ghi vài dòng nhắn nhủ nhỏ dễ thương</p>
            <p>Có bấy nhiêu đó cũng quên Hazzz!!</p>
            <?php
              if(isset($this->mess)){
                    if($this->flag == 'success')
                        echo '<div class="alert alert-success" role="alert">',$this->mess,'</div>';
                    elseif($this->flag == 'alert')
                        echo '<div class="alert alert-warning" role="alert">',$this->mess,'</div>';
                    else
                        echo '<div class="alert alert-danger" role="alert">',$this->mess,'</div>';
                } 
            ?>
            <form action="user/forgotpass" method="post">
                <label>Email: </label>
                <input type="text" name="email" class="form-control" style="width:40%;margin-bottom:10px;"/>
                <button type="submit" style="width:15%;background-color:forestgreen" class="form-control">Gởi</button>
            </form>
        </div>
    </div>
</div>
<?php 
    if(isset($this->mess)){
        if($this->flag == 'success'){      
?>
            <script type="text/javascript">
                $('form').attr('style','display:none');
            </script>
<?php
        }
    }
?>